/*
 * Created on Oct 4, 2003
 *
 * Mihai Postelnicu
 *
 */
package ro.gateway.aida.stats;

import ro.gateway.aida.obj.LangString;


/**
 * @author Mihai Postelnicu
 * StatsItem
 *
 * */
public class StatsItem {
    protected LangString name;
    protected long id;
    protected long count;
    protected String strId;
    
    public void inc(long amount) {
    	count+=amount;
    }

    public StatsItem() {
        count = 0;
        name=new LangString();
    }

    /**
     * @return
     */
    public long getCount() {
        return count;
    }

    /**
     * @return
     */
    public long getId() {
        return id;
    }

  

    /**
     * @param l
     */
    public void setCount(long l) {
        count = l;
    }

    /**
     * @param l
     */
    public void setId(long l) {
        id = l;
    }

	/**
	 * @return
	 */
	public String getStrId() {
		return strId;
	}

	/**
	 * @param string
	 */
	public void setStrId(String string) {
		strId = string;
	}

	/**
	 * @return Returns the name.
	 */
	public LangString getName() {
		return name;
	}
	/**
	 * @param name The name to set.
	 */
	public void setName(LangString name) {
		this.name = name;
	}
}
